python programming paper solution